package com.qf.dao;

import com.qf.pojo.TbGoods;

import java.util.List;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/8/16 17:42
 */
public interface GoodsDao {
    List<TbGoods> selectByTypeId(int typeId);

    Long selectCount(long id);

    List<TbGoods> selectList(long id, int currentPage, int pageSize);

    TbGoods selectById(long id);

    TbGoods findById(long pid);

    List<TbGoods> selectAll();

    void deleteGoods(long id);

    void updateGoods(TbGoods goods);

    void insertGoods(TbGoods goods);
}
